package com.scs.application.core.msg.domain;

import com.scs.application.core.msg.enums.MessageType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * @Description:
 */

@Data
@Accessors(chain = true)
public class PCMessage implements RawMessage {

    //标题
    private String title;

    //内容
    private String content;

    //接收人
    private String userLoginKey;

    /**
     * 消息模板中可能用到的参数值
     */
    private Map<String, Object> params;

    @Override
    public MessageType getMessageType() {
        return MessageType.INNER;
    }
}
